package com.sojson.base.impl;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sojson.util.json.JsonUtil;

import io.swagger.annotations.ApiModel;

/**
 * Bean对象的基础类
 * 
 * @author liu
 * @date 2020-07-31
 */
@ApiModel("Bean对象的基础类")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Base implements Serializable, Cloneable {

    /***/
    private static final long serialVersionUID = 1L;

    /** 重写后的toString */
    @Override
    public String toString() {
        return JsonUtil.objectToJsonAll(this);
    }

}